home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
grabbers
/
grabb394
/
info.bat
< prev
next >
Wrap
DOS Batch File
|
1992-02-04
|
4KB
|
99 lines
echo off
cls
if not exist grabber.doc goto :err
if not exist grtxt.doc goto :err
if exist convert.doc goto :msg
:err
echo
echo Error: Cannot locate all of the documentation files (GRABBER.DOC,
echo GRTXT.DOC and CONVERT.DOC) in the current directory. Some or
echo all of these files are not present. Please change to the
echo drive and directory which contains your GRABBER distribution
echo files, then run this INFO.BAT again.
echo
goto :exit
:msg
echo This batch file will print out the complete documentation for the GRABBER
echo package. The following files will be printed:
echo
echo * GRABBER.DOC (37 pages) -- for GRABBER.EXE, GRHOTKEY.EXE, and CHKVBE.EXE
echo * GRTXT.DOC (5 pages) -- for GRTXT.EXE and GRTXTKEY.EXE
echo * CONVERT.DOC (11 pages) -- for GR2PCX.EXE, GR2GIF.EXE, GR2ASCII.EXE
echo and GR2ANSI.EXE
echo
echo Each of these .DOC files is pre-formatted for printing on regular 8-1/2
echo by 11-inch paper, 60 or 66 lines per page. If you don't want to print these
echo files now, press [Ctrl-C] and then press [Y]. Otherwise, you may let this
echo batch file print them for you. Simply do this:
echo
echo 1. Turn your printer on
echo 2. Adjust the left margin to zero or 1
echo 3. Adjust the top line to the very top of the page
echo
:chk1
if %1zap==zap goto :lpt1
if %1==lpt1 goto :lpt1
if not %1==LPT1 goto :chk2
:lpt1
set pr$=lpt1
echo ┌─────────────────────────────────────────────────────────────────┐
echo │ By the way, I am about to print to the printer which is con- │
echo │ nected to your LPT1 port. If you want to print to LPT2 or LPT3 │
echo │ instead, abort now and re-enter "INFO LPT2" or "INFO LPT3". │
echo └─────────────────────────────────────────────────────────────────┘
echo
goto :msg2
:chk2
if %1==lpt2 goto :lpt2
if not %1==LPT2 goto :chk3
:lpt2
set pr$=lpt2
echo ┌─────────────────────────────────────────────────────────────────┐
echo │ By the way, I am about to print to the printer which is con- │
echo │ nected to your LPT2 port. If you want to print to LPT1 or LPT3 │
echo │ instead, abort now and re-enter "INFO LPT1" or "INFO LPT3". │
echo └─────────────────────────────────────────────────────────────────┘
echo
goto :msg2
:chk3
if %1==lpt3 goto :lpt3
if not %1==LPT3 goto :lpt1
:lpt3
set pr$=lpt3
echo ┌─────────────────────────────────────────────────────────────────┐
echo │ By the way, I am about to print to the printer which is con- │
echo │ nected to your LPT3 port. If you want to print to LPT1 or LPT2 │
echo │ instead, abort now and re-enter "INFO LPT1" or "INFO LPT2". │
echo └─────────────────────────────────────────────────────────────────┘
echo
:msg2
echo 4. Press any key when ready to print, or type Ctrl-C now to abort...
pause > nul
cls
echo
echo ┌──────────────────────────────────────────────────────────────┐
echo │ Printing GRABBER.DOC (37 pages). Press [Ctrl-C] to abort... │
echo └──────────────────────────────────────────────────────────────┘
if not exist jerrymsg.txt goto :docs
type jerrymsg.txt > %pr$%
:docs
type grabber.doc > %pr$%
echo
echo ┌──────────────────────────────────────────────────────────────┐
echo │ Printing GRTXT.DOC (5 pages). Press [Ctrl-C] to abort... │
echo └──────────────────────────────────────────────────────────────┘
type grtxt.doc > %pr$%
echo
echo ┌──────────────────────────────────────────────────────────────┐
echo │ Printing CONVERT.DOC (11 pages). Press [Ctrl-C] to abort... │
echo └──────────────────────────────────────────────────────────────┘
type convert.doc > %pr$%
if not exist order.frm goto :bye
type order.frm > %pr$%
:bye
echo
echo Done.
echo
:exit
set pr$=